import request from '@/utils/request'

export function fetchList(data) { // 视频会议列表接口
  return request({
    url: 'meeting/detail/page2',
    method: 'get',
    params: data
  })
}

export function fetchVideoList(data) { // 视频管理列表接口
  return request({
    url: 'meeting/video/list',
    method: 'post',
    data
  })
}

export function getMeetingRecordList(data) { // 视频管理列表接口
  return request({
    url: 'meeting/video/getMeetingRecordList',
    method: 'post',
    data
  })
}
export function fetchPhotoList(data) { // 视频播放图片列表接口
  return request({
    url: 'ocr/getList',
    method: 'get',
    params:data
  })
}
export function fetchDel(data) { // 视频播放图片列表接口
  return request({
    url: 'ocr/del',
    method: 'post',
    params:data
  })
}
export function fetchDetailExport(data) { // 视频会议导出接口
  return request({
    url: 'meeting/detail/export',
    method: 'post',
    responseType: "blob",
    data
  })
}

export function fetchDetailExportCheck(data) { // 视频会议导出接口
  return request({
    url: 'meeting/detail/exportCheck',
    method: 'post',
    data
  })
}
export function fetchVideoCaptureList(data) { // 视频呼叫获取截图列表
  return request({
    url: '/meeting/videoFaceBusiness/picturelist',
    method: 'post',
    data
  })
}
export function fetchVideoService(data) { // 申请编号和视频业务数据查询
  return request({
    url: '/meeting/videoFaceBusiness/query',
    method: 'post',
    data
  })
}
export function fetchAttendeeDetail(data) { // 参会人详情
  return request({
    url: '/meeting/detail/getMeetingUser',
    method: 'get',
    params:data
  })
}
export function fetchSeatPerformList(data) { // 坐席通时通次列表
  return request({
    url: '/performance/page',
    method: 'get',
    params:data
  })
}
export function checkSeatExport(data) { // 坐席通时通次导出校验
  return request({
    url: '/performance/check',
    method: 'get',
    params: data
  })
}
export function fetchSeatExport(data) { // 坐席通时通次导出
  return request({
    url: '/performance/export',
    method: 'post',
    responseType: "blob",
    data
  })
}
export function fetchAllSkill(data) { // 技能组id
  return request({
    url: '/skill/',
    method: 'get',
    params: data
  })
}



